package com.ruoyi.project.bid.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 【请填写功能名称】对象 wechat
 * 
 * @author ruoyi
 * @date 2023-11-11
 */
public class Wechat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 微信id */
    @Excel(name = "微信id")
    private String wxId;

    /** 微信名称 */
    @Excel(name = "微信名称")
    private String wxName;

    /** 实名登记人 */
    @Excel(name = "实名登记人")
    private String registrant;

    private Long tokerId;
    private Long businessId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWxId(String wxId) 
    {
        this.wxId = wxId;
    }

    @NotBlank(message = "微信账号不能为空")
    @Size(min = 0, max = 100, message = "微信账号长度不能超过100个字符")
    public String getWxId() 
    {
        return wxId;
    }
    public void setWxName(String wxName) 
    {
        this.wxName = wxName;
    }

    @NotBlank(message = "微信名称不能为空")
    @Size(min = 0, max = 100, message = "微信名称长度不能超过100个字符")
    public String getWxName() 
    {
        return wxName;
    }
    public void setRegistrant(String registrant) 
    {
        this.registrant = registrant;
    }

    @NotBlank(message = "实名登记人不能为空")
    @Size(min = 0, max = 30, message = "实名登记人长度不能超过30个字符")
    public String getRegistrant() 
    {
        return registrant;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Long getTokerId() {
        return tokerId;
    }

    public void setTokerId(Long tokerId) {
        this.tokerId = tokerId;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxId", getWxId())
            .append("wxName", getWxName())
            .append("registrant", getRegistrant())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
